package tq.com.tqstudent;

import com.lib.common.utils.FileUtil;

/**
 * @Author rames
 * @date 2019/2/25 22:27
 */
public class Constants {
    private static final int TIME_OUT = 10;
    public static final int OKGO_READ_TIME_OUT = TIME_OUT;
    public static final int OKGO_WRITE_TIME_OUT = TIME_OUT;
    public static final int OKGO_CONNECT_TIME_OUT = TIME_OUT;

    public static final String WX_PACKAGE_NAME = "com.tencent.mm";
    public static final String WX_APP_ID = "wx0e312d4fd27e4853";
    public static final String WX_SECRET_KEY = "3a3cb50e8bacf7bff7d23a205c9c81f2";

    public static final String QQ_APP_ID = "101571459";
    public static final String QQ_SECRET_KEY = "3e383432b5b53623ce8ef3d1acf1bd68";

    public static final String APP_SPU = "APP_SPU";

    public static final String HTTP_IM_IP_URL = "banqun123.com"; // 长链的地址
    public static final int HTTP_IM_PORT_URL = 5300; // 长链的端口

    public static final String HTTP_FILE_URL = "http://www.banqun123.com:5272"; // 图片地址,后面跟图片的id
    public static final String HTTP_URL = "http://www.banqun123.com:5262";
    public static final String HTTP_UPLOAD_URL = "http://www.banqun123.com:5272";

    public static final String FILE_URL = "/api/user/file/whoisyourdaddy/"; // 文件地址的路径
    public static final String UPLOAD_URL = "/api/user/file/new"; // 上传的服务器路径

    public static final int PAGE_SIZE = 10;
    public static final int COUNTDOWN_TIME = 59; // 验证码的倒计时
    public static final String APP_FOLDER = "tqStudent";
    public static final String DOWNLOAD_PDF_URL = FileUtil.externalStorageDirectory()+"/"+APP_FOLDER+"/pdf/";
    public static final String DOWNLOAD_IMG_URL = FileUtil.externalStorageDirectory()+"/"+APP_FOLDER+"/images/";
    public static final String CATHE_CRASH_PATH = FileUtil.externalStorageDirectory()+"/"+APP_FOLDER+"/crashlog/";

    public static final String GT_PUSH_CID_KEY = "gt_push_cid_key"; // 个推cid的存储的key
    public static final String ALI_PUSH_DEVICE_ID = "ali_push_device_id"; // 阿里推送存储的deviceID;
    public static final String IS_CHAT_ACTIVITY_PUSH = "IS_CHAT_ACTIVITY_PUSH"; // 是否是在聊天页面,在不推,不在则推,这里只针对ChatActivity页面.


}
